home *** CD-ROM | disk | FTP | other *** search
/ Visual Cafe 3 / Visual Cafe 3.ISO / Vcafe / Main.bin / TextAreaPeer.java < prev    next >
Text File  |  1998-09-22  |  1KB  |  44 lines

  1. /*
  2.  * @(#)TextAreaPeer.java    1.9 98/07/01
  3.  *
  4.  * Copyright 1995-1998 by Sun Microsystems, Inc.,
  5.  * 901 San Antonio Road, Palo Alto, California, 94303, U.S.A.
  6.  * All rights reserved.
  7.  * 
  8.  * This software is the confidential and proprietary information
  9.  * of Sun Microsystems, Inc. ("Confidential Information").  You
  10.  * shall not disclose such Confidential Information and shall use
  11.  * it only in accordance with the terms of the license agreement
  12.  * you entered into with Sun.
  13.  */
  14. package java.awt.peer;
  15.  
  16. import java.awt.Dimension;
  17.  
  18. public interface TextAreaPeer extends TextComponentPeer {
  19.     void insert(String text, int pos);
  20.     void replaceRange(String text, int start, int end);
  21.     Dimension getPreferredSize(int rows, int columns);
  22.     Dimension getMinimumSize(int rows, int columns);
  23.  
  24.     /**
  25.      * DEPRECATED:  Replaced by insert(String, int).
  26.      */
  27.     void insertText(String txt, int pos);
  28.  
  29.     /**
  30.      * DEPRECATED:  Replaced by ReplaceRange(String, int, int).
  31.      */
  32.     void replaceText(String txt, int start, int end);
  33.  
  34.     /**
  35.      * DEPRECATED:  Replaced by getPreferredSize(int, int).
  36.      */
  37.     Dimension preferredSize(int rows, int cols);
  38.  
  39.     /**
  40.      * DEPRECATED:  Replaced by getMinimumSize(int, int).
  41.      */
  42.     Dimension minimumSize(int rows, int cols);
  43. }    
  44.